/*
 * @Author: cl
 * @Description: 
 * @Date: 2023-04-18 11:13:18
 * @LastEditTime: 2023-04-20 10:52:57
 * @FilePath: \jsnode\nestjs\naota\src\score\dto\create-score.dto.ts
 * @LastEditors: cl
 */
import { IsNotEmpty } from "class-validator"

export class CreateScoreDto {
  @IsNotEmpty({
    message: '缺少学生id',
  })
  student_id: number

  @IsNotEmpty({
    message: '缺少科目id',
  })
  subject_id: number

  @IsNotEmpty({
    message: '缺少科目id',
  })
  achievement: number
  
}
